package com.foodmarket.pojo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDate;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Orders {
    private int buyerId;//买家id
    private int sellerId;//卖家id
    private String username;
    private String foodName;
    private int foodId;//食品id
    private String address;
    private BigDecimal totalPrice;
    private int quantity;
    private LocalDate orderDate;//下单时间
}
